//
//  WebView.h
//  云成绩
//
//  Created by Apple1 on 2017/3/10.
//  Copyright © 2017年 zj. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface WebContainer : UIView

@property (nonatomic, weak) _Nullable id<WKNavigationDelegate> navigationDelegate;
@property (nonatomic, weak) _Nullable id<WKUIDelegate> UIDelegate;

@property (nonatomic ,readonly)  UIScrollView * _Nullable scrollView ;

- (void)loadRequest:(NSURLRequest * _Nullable)request;

- (void)evaluateJavaScript:(NSString * _Nullable)javaScriptString completionHandler:(void (^ _Nullable)(_Nullable id, NSError * _Nullable errr ))completionHandle;

- (void)loadHTMLString:(nonnull NSString *)string baseURL:(nullable NSURL *)baseURL;

//- (void)evaluateJavaScript:(NSString *)javaScriptString completionHandler:(void (^ _Nullable)(id _Nullable, NSError * _Nullable))completionHandle;

@end
